org.zkoss.zk.ui.EventListener.duplicateIgnored

From Documentation


DocumentationZK Configuration Referencezk.xmlThe Library Propertiesorg.zkoss.zk.ui.EventListener.duplicateIgnored
org.zkoss.zk.ui.EventListener.duplicateIgnored


Property:

org.zkoss.zk.ui.EventListener.duplicateIgnored
Applicable:
Dndsmalltalk-check-icon.png globally in zk.xml via <library-property>
Dndsmalltalk-cross-icon.png not as <custom-attribute>
Default: true: allows one instance of event listener to be added multiple times to the listener list of a component or page.

If set to false, components and pages will check their internal listener list for the same instance of listener, and will return false instead of adding it again if found.

<library-property>
	<name>org.zkoss.zk.ui.EventListener.duplicateIgnored</name>
	<value>true</value>
</library-property>


Last Update : 2020/06/25

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.